class __attr_dict:
    data = {}
    def __init__(self):
        self.maps = {}
        for key,value in self.data.items():
            self.maps[key.lower()] = key
    def __getitem__(self,key):
        key = self.maps.get(key.lower(),key)
        return self.data[key]
        
class __color_dict(__attr_dict):
    data = {
        'Snow': [1, 0.980392, 0.980392],
        'GhostWhite': [0.972549, 0.972549, 1],
        'WhiteSmoke': [0.960784, 0.960784, 0.960784],
        'Gainsboro': [0.862745, 0.862745, 0.862745],
        'FloralWhite': [1, 0.980392, 0.941176],
        'OldLace': [0.992157, 0.960784, 0.901961],
        'Linen': [0.980392, 0.941176, 0.901961],
        'AntiqueWhite': [0.980392, 0.921569, 0.843137],
        'PapayaWhip': [1, 0.937255, 0.835294],
        'BlanchedAlmond': [1, 0.921569, 0.803922],
        'Bisque': [1, 0.894118, 0.768627],
        'PeachPuff': [1, 0.854902, 0.72549],
        'NavajoWhite': [1, 0.870588, 0.678431],
        'Moccasin': [1, 0.894118, 0.709804],
        'Cornsilk': [1, 0.972549, 0.862745],
        'Ivory': [1, 1, 0.941176],
        'LemonChiffon': [1, 0.980392, 0.803922],
        'Seashell': [1, 0.960784, 0.933333],
        'Honeydew': [0.941176, 1, 0.941176],
        'MintCream': [0.960784, 1, 0.980392],
        'Azure': [0.941176, 1, 1],
        'AliceBlue': [0.941176, 0.972549, 1],
        'lavender': [0.901961, 0.901961, 0.980392],
        'LavenderBlush': [1, 0.941176, 0.960784],
        'MistyRose': [1, 0.894118, 0.882353],
        'White': [1, 1, 1],
        'Black': [0, 0, 0],
        'DarkSlateGray': [0.184314, 0.309804, 0.309804],
        'DimGrey': [0.411765, 0.411765, 0.411765],
        'SlateGrey': [0.439216, 0.501961, 0.564706],
        'LightSlateGray': [0.466667, 0.533333, 0.6],
        'Gray': [0.745098, 0.745098, 0.745098],
        'Grey': [0.745098, 0.745098, 0.745098],
        'LightGray': [0.827451, 0.827451, 0.827451],
        'MidnightBlue': [0.0980392, 0.0980392, 0.439216],
        'NavyBlue': [0, 0, 0.501961],
        'CornflowerBlue': [0.392157, 0.584314, 0.929412],
        'DarkSlateBlue': [0.282353, 0.239216, 0.545098],
        'SlateBlue': [0.415686, 0.352941, 0.803922],
        'MediumSlateBlue': [0.482353, 0.407843, 0.933333],
        'LightSlateBlue': [0.517647, 0.439216, 1],
        'MediumBlue': [0, 0, 0.803922],
        'RoyalBlue': [0.254902, 0.411765, 0.882353],
        'Blue': [0, 0, 1],
        'DodgerBlue': [0.117647, 0.564706, 1],
        'DeepSkyBlue': [0, 0.74902, 1],
        'SkyBlue': [0.529412, 0.807843, 0.921569],
        'LightSkyBlue': [0.529412, 0.807843, 0.980392],
        'SteelBlue': [0.27451, 0.509804, 0.705882],
        'LightSteelBlue': [0.690196, 0.768627, 0.870588],
        'LightBlue': [0.678431, 0.847059, 0.901961],
        'PowderBlue': [0.690196, 0.878431, 0.901961],
        'PaleTurquoise': [0.686275, 0.933333, 0.933333],
        'DarkTurquoise': [0, 0.807843, 0.819608],
        'MediumTurquoise': [0.282353, 0.819608, 0.8],
        'Turquoise': [0.25098, 0.878431, 0.815686],
        'Cyan': [0, 1, 1],
        'LightCyan': [0.878431, 1, 1],
        'CadetBlue': [0.372549, 0.619608, 0.627451],
        'MediumAquamarine': [0.4, 0.803922, 0.666667],
        'Aquamarine': [0.498039, 1, 0.831373],
        'DarkGreen': [0, 0.392157, 0],
        'DarkOliveGreen': [0.333333, 0.419608, 0.184314],
        'DarkSeaGreen': [0.560784, 0.737255, 0.560784],
        'SeaGreen': [0.180392, 0.545098, 0.341176],
        'MediumSeaGreen': [0.235294, 0.701961, 0.443137],
        'LightSeaGreen': [0.12549, 0.698039, 0.666667],
        'PaleGreen': [0.596078, 0.984314, 0.596078],
        'SpringGreen': [0, 1, 0.498039],
        'LawnGreen': [0.486275, 0.988235, 0],
        'Green': [0, 1, 0],
        'Chartreuse': [0.498039, 1, 0],
        'MedSpringGreen': [0, 0.980392, 0.603922],
        'ForestGreen': [0.133333, 0.545098, 0.133333],
        'OliveDrab': [0.419608, 0.556863, 0.137255],
        'GreenYellow': [0.678431, 1, 0.184314],
        'LimeGreen': [0.196078, 0.803922, 0.196078],
        'YellowGreen': [0.603922, 0.803922, 0.196078],
        'DarkKhaki': [0.741176, 0.717647, 0.419608],
        'PaleGoldenrod': [0.933333, 0.909804, 0.666667],
        'LtGoldenrodYello': [0.980392, 0.980392, 0.823529],
        'LightYellow': [1, 1, 0.878431],
        'Yellow': [1, 1, 0],
        'LightYellow1': [1, 1, 0.878431],
        'LightYellow2': [0.933333, 0.933333, 0.819608],
        'LightYellow3': [0.803922, 0.803922, 0.705882],
        'LightYellow4': [0.545098, 0.545098, 0.478431],
        'Yellow1': [1, 1, 0],
        'Yellow2': [0.933333, 0.933333, 0],
        'Yellow3': [0.803922, 0.803922, 0],
        'Yellow4': [0.545098, 0.545098, 0],
        'Gold': [1, 0.843137, 0],
        'LightGoldenrod': [0.933333, 0.866667, 0.509804],
        'goldenrod': [0.854902, 0.647059, 0.12549],
        'DarkGoldenrod': [0.721569, 0.52549, 0.0431373],
        'RosyBrown': [0.737255, 0.560784, 0.560784],
        'IndianRed': [0.803922, 0.360784, 0.360784],
        'SaddleBrown': [0.545098, 0.270588, 0.0745098],
        'Sienna': [0.627451, 0.321569, 0.176471],
        'Peru': [0.803922, 0.521569, 0.247059],
        'Burlywood': [0.870588, 0.721569, 0.529412],
        'Beige': [0.960784, 0.960784, 0.862745],
        'Wheat': [0.960784, 0.870588, 0.701961],
        'SandyBrown': [0.956863, 0.643137, 0.376471],
        'Tan': [0.823529, 0.705882, 0.54902],
        'Chocolate': [0.823529, 0.411765, 0.117647],
        'Firebrick': [0.698039, 0.133333, 0.133333],
        'Brown': [0.647059, 0.164706, 0.164706],
        'DarkSalmon': [0.913725, 0.588235, 0.478431],
        'Salmon': [0.980392, 0.501961, 0.447059],
        'LightSalmon': [1, 0.627451, 0.478431],
        'Orange': [1, 0.647059, 0],
        'DarkOrange': [1, 0.54902, 0],
        'Coral': [1, 0.498039, 0.313725],
        'LightCoral': [0.941176, 0.501961, 0.501961],
        'Tomato': [1, 0.388235, 0.278431],
        'OrangeRed': [1, 0.270588, 0],
        'Red': [1, 0, 0],
        'HotPink': [1, 0.411765, 0.705882],
        'DeepPink': [1, 0.0784314, 0.576471],
        'Pink': [1, 0.752941, 0.796078],
        'LightPink': [1, 0.713725, 0.756863],
        'PaleVioletRed': [0.858824, 0.439216, 0.576471],
        'Maroon': [0.690196, 0.188235, 0.376471],
        'MediumVioletRed': [0.780392, 0.0823529, 0.521569],
        'VioletRed': [0.815686, 0.12549, 0.564706],
        'Magenta': [1, 0, 1],
        'Violet': [0.933333, 0.509804, 0.933333],
        'Plum': [0.866667, 0.627451, 0.866667],
        'Orchid': [0.854902, 0.439216, 0.839216],
        'MediumOrchid': [0.729412, 0.333333, 0.827451],
        'DarkOrchid': [0.6, 0.196078, 0.8],
        'DarkViolet': [0.580392, 0, 0.827451],
        'BlueViolet': [0.541176, 0.168627, 0.886275],
        'Purple': [0.627451, 0.12549, 0.941176],
        'MediumPurple': [0.576471, 0.439216, 0.858824],
        'Thistle': [0.847059, 0.74902, 0.847059],
        'Snow1': [1, 0.980392, 0.980392],
        'Snow2': [0.933333, 0.913725, 0.913725],
        'Snow3': [0.803922, 0.788235, 0.788235],
        'Snow4': [0.545098, 0.537255, 0.537255],
        'Seashell1': [1, 0.960784, 0.933333],
        'Seashell2': [0.933333, 0.898039, 0.870588],
        'Seashell3': [0.803922, 0.772549, 0.74902],
        'Seashell4': [0.545098, 0.52549, 0.509804],
        'AntiqueWhite1': [1, 0.937255, 0.858824],
        'AntiqueWhite2': [0.933333, 0.87451, 0.8],
        'AntiqueWhite3': [0.803922, 0.752941, 0.690196],
        'AntiqueWhite4': [0.545098, 0.513725, 0.470588],
        'Bisque1': [1, 0.894118, 0.768627],
        'Bisque2': [0.933333, 0.835294, 0.717647],
        'Bisque3': [0.803922, 0.717647, 0.619608],
        'Bisque4': [0.545098, 0.490196, 0.419608],
        'PeachPuff1': [1, 0.854902, 0.72549],
        'PeachPuff2': [0.933333, 0.796078, 0.678431],
        'PeachPuff3': [0.803922, 0.686275, 0.584314],
        'PeachPuff4': [0.545098, 0.466667, 0.396078],
        'NavajoWhite1': [1, 0.870588, 0.678431],
        'NavajoWhite2': [0.933333, 0.811765, 0.631373],
        'NavajoWhite3': [0.803922, 0.701961, 0.545098],
        'NavajoWhite4': [0.545098, 0.47451, 0.368627],
        'LemonChiffon1': [1, 0.980392, 0.803922],
        'LemonChiffon2': [0.933333, 0.913725, 0.74902],
        'LemonChiffon3': [0.803922, 0.788235, 0.647059],
        'LemonChiffon4': [0.545098, 0.537255, 0.439216],
        'Cornsilk1': [1, 0.972549, 0.862745],
        'Cornsilk2': [0.933333, 0.909804, 0.803922],
        'Cornsilk3': [0.803922, 0.784314, 0.694118],
        'Cornsilk4': [0.545098, 0.533333, 0.470588],
        'Ivory1': [1, 1, 0.941176],
        'Ivory2': [0.933333, 0.933333, 0.878431],
        'Ivory3': [0.803922, 0.803922, 0.756863],
        'Ivory4': [0.545098, 0.545098, 0.513725],
        'Honeydew1': [0.941176, 1, 0.941176],
        'Honeydew2': [0.878431, 0.933333, 0.878431],
        'Honeydew3': [0.756863, 0.803922, 0.756863],
        'Honeydew4': [0.513725, 0.545098, 0.513725],
        'LavenderBlush1': [1, 0.941176, 0.960784],
        'LavenderBlush2': [0.933333, 0.878431, 0.898039],
        'LavenderBlush3': [0.803922, 0.756863, 0.772549],
        'LavenderBlush4': [0.545098, 0.513725, 0.52549],
        'MistyRose1': [1, 0.894118, 0.882353],
        'MistyRose2': [0.933333, 0.835294, 0.823529],
        'MistyRose3': [0.803922, 0.717647, 0.709804],
        'MistyRose4': [0.545098, 0.490196, 0.482353],
        'Azure1': [0.941176, 1, 1],
        'Azure2': [0.878431, 0.933333, 0.933333],
        'Azure3': [0.756863, 0.803922, 0.803922],
        'Azure4': [0.513725, 0.545098, 0.545098],
        'SlateBlue1': [0.513725, 0.435294, 1],
        'SlateBlue2': [0.478431, 0.403922, 0.933333],
        'SlateBlue3': [0.411765, 0.34902, 0.803922],
        'SlateBlue4': [0.278431, 0.235294, 0.545098],
        'RoyalBlue1': [0.282353, 0.462745, 1],
        'RoyalBlue2': [0.262745, 0.431373, 0.933333],
        'RoyalBlue3': [0.227451, 0.372549, 0.803922],
        'RoyalBlue4': [0.152941, 0.25098, 0.545098],
        'Blue1': [0, 0, 1],
        'Blue2': [0, 0, 0.933333],
        'Blue3': [0, 0, 0.803922],
        'Blue4': [0, 0, 0.545098],
        'DodgerBlue1': [0.117647, 0.564706, 1],
        'DodgerBlue2': [0.109804, 0.52549, 0.933333],
        'DodgerBlue3': [0.0941176, 0.454902, 0.803922],
        'DodgerBlue4': [0.0627451, 0.305882, 0.545098],
        'SteelBlue1': [0.388235, 0.721569, 1],
        'SteelBlue2': [0.360784, 0.67451, 0.933333],
        'SteelBlue3': [0.309804, 0.580392, 0.803922],
        'SteelBlue4': [0.211765, 0.392157, 0.545098],
        'DeepSkyBlue1': [0, 0.74902, 1],
        'DeepSkyBlue2': [0, 0.698039, 0.933333],
        'DeepSkyBlue3': [0, 0.603922, 0.803922],
        'DeepSkyBlue4': [0, 0.407843, 0.545098],
        'SkyBlue1': [0.529412, 0.807843, 1],
        'SkyBlue2': [0.494118, 0.752941, 0.933333],
        'SkyBlue3': [0.423529, 0.65098, 0.803922],
        'SkyBlue4': [0.290196, 0.439216, 0.545098],
        'LightSkyBlue1': [0.690196, 0.886275, 1],
        'LightSkyBlue2': [0.643137, 0.827451, 0.933333],
        'LightSkyBlue3': [0.552941, 0.713725, 0.803922],
        'LightSkyBlue4': [0.376471, 0.482353, 0.545098],
        'SlateGray1': [0.776471, 0.886275, 1],
        'SlateGray2': [0.72549, 0.827451, 0.933333],
        'SlateGray3': [0.623529, 0.713725, 0.803922],
        'SlateGray4': [0.423529, 0.482353, 0.545098],
        'LightSteelBlue1': [0.792157, 0.882353, 1],
        'LightSteelBlue2': [0.737255, 0.823529, 0.933333],
        'LightSteelBlue3': [0.635294, 0.709804, 0.803922],
        'LightSteelBlue4': [0.431373, 0.482353, 0.545098],
        'LightBlue1': [0.74902, 0.937255, 1],
        'LightBlue2': [0.698039, 0.87451, 0.933333],
        'LightBlue3': [0.603922, 0.752941, 0.803922],
        'LightBlue4': [0.407843, 0.513725, 0.545098],
        'LightCyan1': [0.878431, 1, 1],
        'LightCyan2': [0.819608, 0.933333, 0.933333],
        'LightCyan3': [0.705882, 0.803922, 0.803922],
        'LightCyan4': [0.478431, 0.545098, 0.545098],
        'PaleTurquoise1': [0.733333, 1, 1],
        'PaleTurquoise2': [0.682353, 0.933333, 0.933333],
        'PaleTurquoise3': [0.588235, 0.803922, 0.803922],
        'PaleTurquoise4': [0.4, 0.545098, 0.545098],
        'CadetBlue1': [0.596078, 0.960784, 1],
        'CadetBlue2': [0.556863, 0.898039, 0.933333],
        'CadetBlue3': [0.478431, 0.772549, 0.803922],
        'CadetBlue4': [0.32549, 0.52549, 0.545098],
        'Turquoise1': [0, 0.960784, 1],
        'Turquoise2': [0, 0.898039, 0.933333],
        'Turquoise3': [0, 0.772549, 0.803922],
        'Turquoise4': [0, 0.52549, 0.545098],
        'Cyan1': [0, 1, 1],
        'Cyan2': [0, 0.933333, 0.933333],
        'Cyan3': [0, 0.803922, 0.803922],
        'Cyan4': [0, 0.545098, 0.545098],
        'DarkSlateGray1': [0.592157, 1, 1],
        'DarkSlateGray2': [0.552941, 0.933333, 0.933333],
        'DarkSlateGray3': [0.47451, 0.803922, 0.803922],
        'DarkSlateGray4': [0.321569, 0.545098, 0.545098],
        'Aquamarine1': [0.498039, 1, 0.831373],
        'Aquamarine2': [0.462745, 0.933333, 0.776471],
        'Aquamarine3': [0.4, 0.803922, 0.666667],
        'Aquamarine4': [0.270588, 0.545098, 0.454902],
        'DarkSeaGreen1': [0.756863, 1, 0.756863],
        'DarkSeaGreen2': [0.705882, 0.933333, 0.705882],
        'DarkSeaGreen3': [0.607843, 0.803922, 0.607843],
        'DarkSeaGreen4': [0.411765, 0.545098, 0.411765],
        'SeaGreen1': [0.329412, 1, 0.623529],
        'SeaGreen2': [0.305882, 0.933333, 0.580392],
        'SeaGreen3': [0.262745, 0.803922, 0.501961],
        'SeaGreen4': [0.180392, 0.545098, 0.341176],
        'PaleGreen1': [0.603922, 1, 0.603922],
        'PaleGreen2': [0.564706, 0.933333, 0.564706],
        'PaleGreen3': [0.486275, 0.803922, 0.486275],
        'PaleGreen4': [0.329412, 0.545098, 0.329412],
        'SpringGreen1': [0, 1, 0.498039],
        'SpringGreen2': [0, 0.933333, 0.462745],
        'SpringGreen3': [0, 0.803922, 0.4],
        'SpringGreen4': [0, 0.545098, 0.270588],
        'Green1': [0, 1, 0],
        'Green2': [0, 0.933333, 0],
        'Green3': [0, 0.803922, 0],
        'Green4': [0, 0.545098, 0],
        'Chartreuse1': [0.498039, 1, 0],
        'Chartreuse2': [0.462745, 0.933333, 0],
        'Chartreuse3': [0.4, 0.803922, 0],
        'Chartreuse4': [0.270588, 0.545098, 0],
        'OliveDrab1': [0.752941, 1, 0.243137],
        'OliveDrab2': [0.701961, 0.933333, 0.227451],
        'OliveDrab3': [0.603922, 0.803922, 0.196078],
        'OliveDrab4': [0.411765, 0.545098, 0.133333],
        'DarkOliveGreen1': [0.792157, 1, 0.439216],
        'DarkOliveGreen2': [0.737255, 0.933333, 0.407843],
        'DarkOliveGreen3': [0.635294, 0.803922, 0.352941],
        'DarkOliveGreen4': [0.431373, 0.545098, 0.239216],
        'Khaki1': [1, 0.964706, 0.560784],
        'Khaki2': [0.933333, 0.901961, 0.521569],
        'Khaki3': [0.803922, 0.776471, 0.45098],
        'Khaki4': [0.545098, 0.52549, 0.305882],
        'LightGoldenrod1': [1, 0.92549, 0.545098],
        'LightGoldenrod2': [0.933333, 0.862745, 0.509804],
        'LightGoldenrod3': [0.803922, 0.745098, 0.439216],
        'LightGoldenrod4': [0.545098, 0.505882, 0.298039],
        'Gold1': [1, 0.843137, 0],
        'Gold2': [0.933333, 0.788235, 0],
        'Gold3': [0.803922, 0.678431, 0],
        'Gold4': [0.545098, 0.458824, 0],
        'Goldenrod1': [1, 0.756863, 0.145098],
        'Goldenrod2': [0.933333, 0.705882, 0.133333],
        'Goldenrod3': [0.803922, 0.607843, 0.113725],
        'Goldenrod4': [0.545098, 0.411765, 0.0784314],
        'DarkGoldenrod1': [1, 0.72549, 0.0588235],
        'DarkGoldenrod2': [0.933333, 0.678431, 0.054902],
        'DarkGoldenrod3': [0.803922, 0.584314, 0.0470588],
        'DarkGoldenrod4': [0.545098, 0.396078, 0.0313725],
        'RosyBrown1': [1, 0.756863, 0.756863],
        'RosyBrown2': [0.933333, 0.705882, 0.705882],
        'RosyBrown3': [0.803922, 0.607843, 0.607843],
        'RosyBrown4': [0.545098, 0.411765, 0.411765],
        'IndianRed1': [1, 0.415686, 0.415686],
        'IndianRed2': [0.933333, 0.388235, 0.388235],
        'IndianRed3': [0.803922, 0.333333, 0.333333],
        'IndianRed4': [0.545098, 0.227451, 0.227451],
        'Sienna1': [1, 0.509804, 0.278431],
        'Sienna2': [0.933333, 0.47451, 0.258824],
        'Sienna3': [0.803922, 0.407843, 0.223529],
        'Sienna4': [0.545098, 0.278431, 0.14902],
        'Burlywood1': [1, 0.827451, 0.607843],
        'Burlywood2': [0.933333, 0.772549, 0.568627],
        'Burlywood3': [0.803922, 0.666667, 0.490196],
        'Burlywood4': [0.545098, 0.45098, 0.333333],
        'Wheat1': [1, 0.905882, 0.729412],
        'Wheat2': [0.933333, 0.847059, 0.682353],
        'Wheat3': [0.803922, 0.729412, 0.588235],
        'Wheat4': [0.545098, 0.494118, 0.4],
        'Tan1': [1, 0.647059, 0.309804],
        'Tan2': [0.933333, 0.603922, 0.286275],
        'Tan3': [0.803922, 0.521569, 0.247059],
        'Tan4': [0.545098, 0.352941, 0.168627],
        'Chocolate1': [1, 0.498039, 0.141176],
        'Chocolate2': [0.933333, 0.462745, 0.129412],
        'Chocolate3': [0.803922, 0.4, 0.113725],
        'Chocolate4': [0.545098, 0.270588, 0.0745098],
        'Firebrick1': [1, 0.188235, 0.188235],
        'Firebrick2': [0.933333, 0.172549, 0.172549],
        'Firebrick3': [0.803922, 0.14902, 0.14902],
        'Firebrick4': [0.545098, 0.101961, 0.101961],
        'Brown1': [1, 0.25098, 0.25098],
        'Brown2': [0.933333, 0.231373, 0.231373],
        'Brown3': [0.803922, 0.2, 0.2],
        'Brown4': [0.545098, 0.137255, 0.137255],
        'Salmon1': [1, 0.54902, 0.411765],
        'Salmon2': [0.933333, 0.509804, 0.384314],
        'Salmon3': [0.803922, 0.439216, 0.329412],
        'Salmon4': [0.545098, 0.298039, 0.223529],
        'LightSalmon1': [1, 0.627451, 0.478431],
        'LightSalmon2': [0.933333, 0.584314, 0.447059],
        'LightSalmon3': [0.803922, 0.505882, 0.384314],
        'LightSalmon4': [0.545098, 0.341176, 0.258824],
        'Orange1': [1, 0.647059, 0],
        'Orange2': [0.933333, 0.603922, 0],
        'Orange3': [0.803922, 0.521569, 0],
        'Orange4': [0.545098, 0.352941, 0],
        'DarkOrange1': [1, 0.498039, 0],
        'DarkOrange2': [0.933333, 0.462745, 0],
        'DarkOrange3': [0.803922, 0.4, 0],
        'DarkOrange4': [0.545098, 0.270588, 0],
        'Coral1': [1, 0.447059, 0.337255],
        'Coral2': [0.933333, 0.415686, 0.313725],
        'Coral3': [0.803922, 0.356863, 0.270588],
        'Coral4': [0.545098, 0.243137, 0.184314],
        'Tomato1': [1, 0.388235, 0.278431],
        'Tomato2': [0.933333, 0.360784, 0.258824],
        'Tomato3': [0.803922, 0.309804, 0.223529],
        'Tomato4': [0.545098, 0.211765, 0.14902],
        'OrangeRed1': [1, 0.270588, 0],
        'OrangeRed2': [0.933333, 0.25098, 0],
        'OrangeRed3': [0.803922, 0.215686, 0],
        'OrangeRed4': [0.545098, 0.145098, 0],
        'Red': [1, 0, 0],
        'Red1': [1, 0, 0],
        'Red2': [0.933333, 0, 0],
        'Red3': [0.803922, 0, 0],
        'Red4': [0.545098, 0, 0],
        'DeepPink1': [1, 0.0784314, 0.576471],
        'DeepPink2': [0.933333, 0.0705882, 0.537255],
        'DeepPink3': [0.803922, 0.0627451, 0.462745],
        'DeepPink4': [0.545098, 0.0392157, 0.313725],
        'HotPink1': [1, 0.431373, 0.705882],
        'HotPink2': [0.933333, 0.415686, 0.654902],
        'HotPink3': [0.803922, 0.376471, 0.564706],
        'HotPink4': [0.545098, 0.227451, 0.384314],
        'Pink': [1, 0.709804, 0.772549],
        'Pink1': [1, 0.709804, 0.772549],
        'Pink2': [0.933333, 0.662745, 0.721569],
        'Pink3': [0.803922, 0.568627, 0.619608],
        'Pink4': [0.545098, 0.388235, 0.423529],
        'LightPink': [1, 0.682353, 0.72549],
        'LightPink1': [1, 0.682353, 0.72549],
        'LightPink2': [0.933333, 0.635294, 0.678431],
        'LightPink3': [0.803922, 0.54902, 0.584314],
        'LightPink4': [0.545098, 0.372549, 0.396078],
        'PaleVioletRed1': [1, 0.509804, 0.670588],
        'PaleVioletRed2': [0.933333, 0.47451, 0.623529],
        'PaleVioletRed3': [0.803922, 0.407843, 0.537255],
        'PaleVioletRed4': [0.545098, 0.278431, 0.364706],
        'Maroon': [1, 0.203922, 0.701961],
        'Maroon1': [1, 0.203922, 0.701961],
        'Maroon2': [0.933333, 0.188235, 0.654902],
        'Maroon3': [0.803922, 0.160784, 0.564706],
        'Maroon4': [0.545098, 0.109804, 0.384314],
        'VioletRed1': [1, 0.243137, 0.588235],
        'VioletRed2': [0.933333, 0.227451, 0.54902],
        'VioletRed3': [0.803922, 0.196078, 0.470588],
        'VioletRed4': [0.545098, 0.133333, 0.321569],
        'Magenta1': [1, 0, 1],
        'Magenta2': [0.933333, 0, 0.933333],
        'Magenta3': [0.803922, 0, 0.803922],
        'Magenta4': [0.545098, 0, 0.545098],
        'Orchid1': [1, 0.513725, 0.980392],
        'Orchid2': [0.933333, 0.478431, 0.913725],
        'Orchid3': [0.803922, 0.411765, 0.788235],
        'Orchid4': [0.545098, 0.278431, 0.537255],
        'Plum1': [1, 0.733333, 1],
        'Plum2': [0.933333, 0.682353, 0.933333],
        'Plum3': [0.803922, 0.588235, 0.803922],
        'Plum4': [0.545098, 0.4, 0.545098],
        'MediumOrchid1': [0.878431, 0.4, 1],
        'MediumOrchid2': [0.819608, 0.372549, 0.933333],
        'MediumOrchid3': [0.705882, 0.321569, 0.803922],
        'MediumOrchid4': [0.478431, 0.215686, 0.545098],
        'DarkOrchid1': [0.74902, 0.243137, 1],
        'DarkOrchid2': [0.698039, 0.227451, 0.933333],
        'DarkOrchid3': [0.603922, 0.196078, 0.803922],
        'DarkOrchid4': [0.407843, 0.133333, 0.545098],
        'Purple': [0.607843, 0.188235, 1],
        'Purple1': [0.607843, 0.188235, 1],
        'Purple2': [0.568627, 0.172549, 0.933333],
        'Purple3': [0.490196, 0.14902, 0.803922],
        'Purple4': [0.333333, 0.101961, 0.545098],
        'MediumPurple1': [0.670588, 0.509804, 1],
        'MediumPurple2': [0.623529, 0.47451, 0.933333],
        'MediumPurple3': [0.537255, 0.407843, 0.803922],
        'MediumPurple4': [0.364706, 0.278431, 0.545098],
        'Thistle1': [1, 0.882353, 1],
        'Thistle2': [0.933333, 0.823529, 0.933333],
        'Thistle3': [0.803922, 0.709804, 0.803922],
        'Thistle4': [0.545098, 0.482353, 0.545098],
        'grey11': [0.109804, 0.109804, 0.109804],
        'grey21': [0.211765, 0.211765, 0.211765],
        'grey31': [0.309804, 0.309804, 0.309804],
        'grey41': [0.411765, 0.411765, 0.411765],
        'grey51': [0.509804, 0.509804, 0.509804],
        'grey61': [0.611765, 0.611765, 0.611765],
        'grey71': [0.709804, 0.709804, 0.709804],
        'grey81': [0.811765, 0.811765, 0.811765],
        'grey91': [0.909804, 0.909804, 0.909804],
        'DarkGrey': [0.662745, 0.662745, 0.662745],
        'DarkBlue': [0, 0, 0.545098],
        'DarkCyan': [0, 0.545098, 0.545098],
        'DarkMagenta': [0.545098, 0, 0.545098],
        'DarkRed': [0.545098, 0, 0],
        'LightGreen': [0.564706, 0.933333, 0.564706],
        }

COLORS = __color_dict()

class __material_dict(__color_dict):
    data = {
        'emerald': [[0.0215,0.1745,0.0215,1],
                    [0.07568,0.61424,0.07568,1],
                    [0.633,0.727811,0.633,1], 0.6],
        'jade': [[0.135,0.2225,0.1575,1],
                 [0.54,0.89,0.63,1],
                 [0.316228,0.316228,0.316228,1], 0.1],
        'obsidian': [[0.05375,0.05,0.06625,1],
                     [0.18275,0.17,0.22525,1],
                     [0.332741,0.328634,0.346435,1], 0.3],
        'pearl': [[0.25,0.20725,0.20725,1],
                  [1,0.829,0.829,1],
                  [0.296648,0.296648,0.296648,1], 0.088],
        'ruby': [[0.1745,0.01175,0.01175,1],
                 [0.61424,0.04136,0.04136,1],
                 [0.727811,0.626959,0.626959,1], 0.6],
        'turquoise': [[0.1,0.18725,0.1745,1],
                      [0.396,0.74151,0.69102,1],
                      [0.297254,0.30829,0.306678,1], 0.1],
        'ruby': [[.1745,.01175,.01175,1],
                 [.61424,.04136,.04136,1],
                 [.727811,.626959,.626959,1], .6],
        'bronze': [[0.2125,0.1275,0.054,1],
                   [0.714,0.4284,0.18144,1],
                   [0.393548,0.271906,0.166721,1], 0.2],
        'obsidian': [[0.05375,0.05,0.06625,1],
                     [0.18275,0.17,0.22525,1],
                     [0.332741,0.328634,0.346435,1], 0.3],
        'brass': [[.329412,.223529,.027451,1],
                  [.780392,.568627,.113725,1],
                  [.992157,.941176,.807843,1], .21794872],
        'chrome': [[0.25,0.25,0.25,1],
                   [0.4,0.4,0.4,1],
                   [0.774597,0.774597,0.774597,1], 0.6],
        'copper': [[0.19125,0.0735,0.0225,1],
                   [0.7038,0.27048,0.0828,1],
                   [0.256777,0.137622,0.086014,1], 0.1],	
        'gold': [[0.24725,0.1995,0.0745,1],
                 [0.75164,0.60648,0.22648,1],
                 [0.628281,0.555802,0.366065,1], 0.4],
        'silver': [[.19225,.19225,.19225,1],
                   [.50754,.50754,.50754,1],
                   [.508273,.508273,.508273,1], .4],
        'black': [[.0,.0,.0,1],
                  [0.01,0.01,0.01,1],
                  [0.50,0.50,0.50,1], .25],
        'black2': [[.02,.02,.02,1],
                  [.01,.01,.01,1],
                  [.4,.4,.4,1], .078125],
        'redplastic' : [[0.8,0.1,0.1,1],
                        [.8,.1,.1,1],
                        [0.2,0.2,0.2,1], 5.0],
        'red': [[.0,.0,.0,1],
                  [1,.0,.0,1],
                  [.7,.6,.6,1], .25],
        'red2': [[.05,.0,.0,1],
                  [.5,.4,.4,1],
                  [.7,.04,.04,1], .078125],
        'blue': [[.0,.0,.0,1],
                 [.0,.0,1],
                 [1, .6,.6,.7,1], .25],
        'cyan': [[.0,.1,.06,1],
                 [.0,.50980392,.50980392,1],
                 [.50196078,.50196078,.50196078,1], .25],
        'cyan2': [[.0,.05,.05,1],
                 [.4,.5,.5,1],
                 [.04,.7,.7,1], .078125],
        'green': [[.0,.0,.0,1],
                    [.1,.35,.1,1],
                    [.45,.55,.45,1], .25],
        'green2': [[.0,.05,.0,1],
                    [.4,.5,.4,1],
                    [.04,.7,.04,1], .078125],
        'white': [[.0,.0,.0,1],
                    [.55,.55,.55,1],
                    [.70,.70,.70,1], .25],
        'white2': [[.05,.05,.05,1],
                    [.5,.5,.5,1],
                    [.7,.7,.7,1], .078125],
        'yellowplastic': [[.0,.0,.0,1],
                           [.5,.5,.0,1],
                           [.60,.60,.50,1], .25],
        'yellowrubber': [[.05,.05,.0,1],
                          [.5,.5,.4,1],
                          [.7,.7,.04,1], .078125],
        }

MATERIALS = __material_dict()
